﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace ThreadLearn
{
    class Program
    {
        static void Main(string[] args)
        {
            //CancellationDemo.Go();
            //LinkedTokenSourceDemo.Go();
            //TaskDemo.Go();
            //TaskDemo.TaskCacel();
            //TaskDemo.TaskContinueWith();
            //TaskDemo.TaskContinueWithMultiple();
            //TaskDemo.ChildTask();
            //TaskDemo.TaskFactory();
            //ParallelDemo.DisplayResult("D:\\个人资料\\学习资料\\资料文件\\C#\\CLR via C#", "*.*",System.IO.SearchOption.AllDirectories);
            //TimerDemo.Index();
            //DelayDemo.Index();
            //DelayDemo.Index1();
            //EventAwaiter<int>.Go();
            //AsyncDemo.Index();
            //TaskLogger.Go1();
            TaskLogger.Go();

            Console.ReadLine();
        }

        

    }
}
